ar X iv : m at h / 06 02 45 6 v 1 [ m at h . C O ] 2 1 Fe b 20 06 Prefix reversals on binary and ternary strings ⋆

نویسندگان

  • Leo van Iersel
  • Judith Keijsper
  • Steven Kelk
  • Leen Stougie
  • John Tromp
چکیده

The problem Sorting By Prefix Reversals (also known as pancake flipping), made famous by Gates and Papadimitriou [7], asks for the minimum number of prefix reversals required to sort the elements of a given permutation. In this paper we study a variant of this problem where the prefix reversals act not on permutations but on strings over a fixed-size alphabet. We demonstrate polynomial-time algorithms for optimally sorting binary strings and ternary strings with prefix reversals; we demonstrate that computing the minimum prefix reversal distance between two binary strings is NP-hard; we give an exact expression for the prefix reversal diameter of binary strings, and we give bounds on the diameter of ternary strings. We also define an interesting weakening of sorting on strings, called grouping (where alike symbols have only to be brought together, with no restraint on symbol order) and give polynomial-time algorithms for optimally grouping binary and ternary strings. A number of intriguing open problems are also discussed.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ar X iv : h ep - t h / 06 02 18 4 v 1 1 9 Fe b 20 06 Gauge Theories as String Theories ; the First Results

The brief review of the duality between gauge theories and closed strings propagating in the curved space is based on the lectures given at ITEP Winter School-2005.

متن کامل

ar X iv : m at h / 06 02 64 7 v 1 [ m at h . A G ] 2 8 Fe b 20 06 HIGHER FANO MANIFOLDS AND RATIONAL SURFACES

Let X be a Fano manifold of pseudo-index ≥ 3 such that c 1 (X) 2 − 2c 2 (X) is nef. Irreducibility of some spaces of rational curves on X (in fact, a weaker hypothesis) implies a general point of X is contained in a rational surface.

متن کامل

ar X iv : m at h / 06 02 64 2 v 1 [ m at h . A G ] 2 8 Fe b 20 06 DIVISOR CLASSES AND THE VIRTUAL CANONICAL BUNDLE FOR GENUS 0 MAPS

Some divisor class relations for genus 0 curves are proved and used to compute the Cartier divisor class of the virtual canonical bundle for genus 0 maps to a smooth target. Many results here first appeared in [6] and [5]; our proofs use a completely different method.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008